package com.tedu.openmedical.duplicate.medical_duplicate.mapper;

import com.tedu.openmedical.duplicate.medical_duplicate.pojo.dto.TableSelectParam;
import com.tedu.openmedical.duplicate.medical_duplicate.pojo.entity.MailOrder;
import com.tedu.openmedical.duplicate.medical_duplicate.pojo.entity.RecordCopy;
import com.tedu.openmedical.duplicate.medical_duplicate.pojo.vo.RecordDetailVO;
import com.tedu.openmedical.duplicate.medical_duplicate.pojo.vo.RecordTableVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MedicalDuplicateMapper {
    public List<RecordTableVO> selectTableData(TableSelectParam param);
    public int insertRecord(RecordCopy record);
    public RecordDetailVO selectDetail(Long id);
    public int updateRecord(RecordCopy record);

    public int insertMailOrder(MailOrder order);
}
